package m.jclecai.com.utils;

import m.jclecai.com.MyApplication;
import m.jclecai.com.R;

/**
 * @Author:Create by Mr.w
 * @Date:2018/7/22 15:10
 * @Description:
 */
public class PackageCompareUtil {
    public static int getPackageType() {
        if (MyApplication.getInstance().getPackageName().equals("m.jclecai.com")) {
            //乐彩
            return 0;
        }
        //中彩
        return 1;
    }

    public static int getIconResourceByPackage(){
        if (getPackageType()==0) {
            return R.mipmap.ic_launcher;
        }
        return R.drawable.zhongcai_logo;
    }
}
